package com.example.course.bean;

import java.util.List;

public class Teacher {
    private Integer id;
    private String name;
    private String headImage;
    private String detail;
    private String account;
    private String password;
    private String motto;
    private List<Course> courseList;

    public List<Course> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }

    public Teacher(String account, String password) {
        this.account = account;
        this.password = password;
    }

    @Override
    public String toString() {
        return "teacher{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", headImage='" + headImage + '\'' +
                ", detail='" + detail + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", motto='" + motto + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public Teacher(Integer id, String name, String headImage, String detail, String account, String password, String motto) {
        this.id = id;
        this.name = name;
        this.headImage = headImage;
        this.detail = detail;
        this.account = account;
        this.password = password;
        this.motto = motto;
    }

    public Teacher() {
    }
}
